﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NppPluginNET
{
    public class ParseResult
    {

        public ParseResult(string text,int pos)
        {
            Text = text;
            CursorPosition = pos;
        }

        public string Text { get; private set; }

        public int CursorPosition { get; private set; }

        public override string ToString()
        {
            return String.Format("CursorPos :{0} \nText :\n{1} \n", CursorPosition, Text);
        }
    }
}
